/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package business;

import java.sql.Date;
import java.util.List;
import model.entity.Post;

/**
 *
 * @author quanhungbang
 */
public interface PostManageService {
    public List<Post> showAllPosts();
    
    public boolean delete(int post_id);
    
    public List<Post> find(String keyword);
    
    public List<Post> findByDate(Date created_date);
}
